import { ElPopover } from 'element-plus';

export const MciPopover = defineComponent({
  name: 'MciPopover',
  props: {
    visible: {
      type: Boolean,
      default: false
    },
    placement: {
      type: String,
      default: ''
    },
    popperClass: {
      type: String,
      default: ''
    }
  },
  render() {
    return (
      <ElPopover
        class="mci-popover"
        vSlots={this.$slots}
        visible={this.visible}
        placement={this.placement}
        popperClass={this.popperClass}
        {...this.$attrs}
      />
    );
  }
});
